package com.search.app.VO;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;

@Document(indexName = "product")
@Data
public class Product {
    private Integer product_id;
    private String product_name;
    private String product_title;
    private Float product_price;
    private Float product_sale_price;
    private String product_create_date;
    private Integer product_category_id;
    private Integer product_isEnabled;
    private Integer product_sale_count;
    private Integer product_review_count;

//    图片路径
    private List<Productimage> productimage;
}
